import request from '../utils/request';

//用户登录
export const userLogin = data=>{
  return request.post('/login',data)
}
export const userRegister = data =>{
  return request.post('/register',data)
}

export const getUserInfo =() =>{
  return request.get('/userinfo')
}
